package com.yunji.cabinet.enums;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.enums
 * @Title: UseStatus
 * @Description: 使用状态
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-04-09 16:50:23      V1.0        HuaAo       新建类
 */

public enum UseStatus {
    ENABLE(0, "启用"),
    UNABLE(1, "停用"),
    DISUSE(2, "未绑定");
    private final Integer code;
    private final String text;

    UseStatus(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
